home *** CD-ROM | disk | FTP | other *** search
- Path: wmin.ac.uk!usenet
- From: Idoia Lertxundi <gsoec@wmin.ac.uk>
- Newsgroups: comp.lang.c
- Subject: Can a function return a array of pointers? a.s.a.p.
- Date: 20 Apr 1996 12:40:23 GMT
- Organization: Westminster University
- Message-ID: <4lalvn$536@badger.wmin.ac.uk>
- NNTP-Posting-Host: ux9.wmin.ac.uk
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 1.1N (X11; I; SunOS 4.1.3_U1 sun4c)
- X-URL: news:comp.lang.c
-
- My question is Can a function return a array of pointers?
-
- It seems that the compiler does not like the following:
-
- static char[] *ReadCodes(FILE *fptr, char *codes_array_p[MAX_CODES], char
- *codes[MAX_CODES])
-
- even [MAX_CODES] gives an error, therefore how can I represent a function
- returning a type array of pointers?
-
- Answers to the group and me.
-
- gsoec@wmin.ac.uk
- http://www.wmin.ac.uk/~gsoec/
-
-